<?php
if ($query->num_rows() > 0) {
    $aRow = $query->row();
}
?>
<div id="wrapper-content">
    <table class="titrepage" width="100%">
        <tr>
            <td >Modifier professionel</td>
            <td align="right"> </td>
        </tr>
    </table>
<?php echo form_open('pro/update_pro/' . $aRow->id . '/' . $per_page . '/' . $off_set); ?>
    <table width="100%" class="list">
        <tr>
            <td width="30%" >Nom</td>
            <td><input type="text" name ="nom" size="30" value="<?php echo $aRow->nom; ?>"/></td>
            <td><?php echo form_error("nom") ?></td>
        </tr>
        <tr>
            <td width="30%" >Ident</td>
            <td><?php echo $aRow->ident; ?></td>
        </tr>
        <tr>
            <td >Email</td>
            <td><input type="text" name ="email" size="30" value="<?php echo $aRow->email; ?>"/> </td>
            <td><?php echo form_error("email") ?></td>
        </tr>
        <tr>
            <td >Tel</td>
            <td><input type="text" name ="tel" size="30" value="<?php echo $aRow->tel; ?>"/> </td>
            <td><?php echo form_error("tel") ?></td>
        </tr>
        <tr>
            <td >Adresse</td>
            <td><input type="text" name ="adresse" size="30" value="<?php echo $aRow->adresse; ?>"/> </td>
            <td><?php echo form_error("adresse") ?></td>
        </tr>
        <tr>
            <td><input type="submit" value="Enregistrer" name ="submit"/> </td>
        </tr>
    </table>

</div>

